home *** CD-ROM | disk | FTP | other *** search
/ Compute! Gazette 1984 October / 1984-10.d64 / first aid (.txt) < prev    next >
Commodore BASIC  |  2022-09-20  |  11KB  |  259 lines

  1. 10 rem ***first aid***
  2. 20 print"[147]":poke53280,0:poke53281,0:poke646,3
  3. 25 print"          please stand by"
  4. 30 dimm$(50),a$(50,100)
  5. 40 a=1
  6. 50 readm$(a):ifm$(a)=""then70
  7. 60 a=a+1:goto50
  8. 70 a=1:b=1
  9. 80 reada$(a,b)
  10. 90 ifa$(a,b)="9"thengoto120
  11. 100 ifa$(a,b)=""thena=a+1:b=1:goto80
  12. 110 b=b+1:goto80
  13. 120 print"[147]":print"[145]first aid selection"
  14. 130 q=1:s=0:rr=1
  15. 140 fora=1to34:g=a
  16. 150 ifa>20thenifqthenq=0:print"":s=24
  17. 160 ifa>26theng=-16+a-26
  18. 170 print"[158]"tab(s)chr$(g+64)"[159]"spc(1)m$(a)
  19. 180 next
  20. 190 poke198,0
  21. 200 print"[158]enter letter or number:[159]"
  22. 210 geta$:ifa$=""then210
  23. 220 a=asc(a$)-64
  24. 225 ifasc(a$)<49orasc(a$)>90then210
  25. 230 ifa<1thena=91+(a+15)-64
  26. 240 ifa>34ora<0then210
  27. 250 print"[147]"
  28. 260 forb=1to100
  29. 270 ifb>10anda=14andrr=1thenprint" [158]press any key to continue[159]":gosub370
  30. 280 print""a$(a,b)
  31. 290 ifa$(a,b)=""then310
  32. 300 next
  33. 310 print"hit any key to return to main menu"
  34. 320 poke198,0
  35. 330 geta$:ifa$=""then330
  36. 340 goto120
  37. 350 geta$:ifa$=""then350
  38. 360 c=val(a$)
  39. 370 poke198,0
  40. 380 geta$:ifa$=""then380
  41. 390 print"[147]":rr=0:return
  42. 400 data"[158]emergency numbers[159]"
  43. 410 data"appendicitis"
  44. 420 data"artif. respiration"
  45. 430 data"bites (animal)","bites (insect)","bites (snake)"
  46. 440 data "bleeding (severe)"
  47. 450 data"bone & joint injuries","bruises"
  48. 460 data"burns (minor)"
  49. 470 data"burns (serious)","burns (v. serious)"
  50. 480 data"burns (chemical)","choking","drugs"
  51. 490 data"earache","electric shock","epilepsy"
  52. 500 data"exposure to cold","exposure to heat"
  53. 510 data"fainting","fever","heart attack","hernias","nose bleed"
  54. 520 data"poison (gas)","poison (oral)","shock","sprains","strains"
  55. 530 data "stroke","sunburn","sunstroke","toothache",""
  56. 540 data"[158]***emergency numbers***[159]"
  57. 550 data"poison control center:  798-6200":data"doctor:  823-4796"
  58. 560 data"ambulance:  429-5111"
  59. 570 data"doctor:  823-4796"
  60. 580 data"hospital:  823-1000"
  61. 590 data"police:  429-8231"
  62. 600 data"fire:  823-2233",""
  63. 610 data"appendicitis","1)[146] call your doctor."
  64. 620 data"2)[146] never give anything by mouth."
  65. 630 data"3)[146] ice bag may reduce discomfort.",""
  66. 640 data"artificial respiration"
  67. 650 data"1)[146] tilt head back."
  68. 660 data"2)[146] pinch nose shut. blow air into          victim's mouth."
  69. 670 data"3)[146] remove mouth;look for exhalation."
  70. 680 data"4)[146] repeat blowing cycle."
  71. 690 data"adult[146] - breathe deeply every 5 seconds."
  72. 700 data"child[146] - breathe gently every 3 seconds.",""
  73. 710 data"animal bites","1)[146] stop bleeding."
  74. 720 data"2)[146] wash wound with soap & water."
  75. 730 data"3)[146] restrict movement of affected part."
  76. 740 data"4)[146] isolate animal for rabies test.",""
  77. 750 data"insect bites","minor:","1)[146]"
  78. 760 data"[145][145]apply cold soothing lotions(calamine)"
  79. 770 data"severe reactions:","1)[146] give artificial respiration"
  80. 780 data"[145]if necessary."
  81. 790 data"2)[146] apply constricting band"
  82. 800 data"[145]2-4 inches above sting."
  83. 810 data"3)[146] keep affected part down"
  84. 820 data"[145]and apply ice pack."
  85. 830 data"4)[146] if allergic reaction -"
  86. 840 data"[145]get medical attention.",""
  87. 850 data"snake bites"
  88. 860 data"1)[146] get victim to hospital."
  89. 870 data"2)[146] restrict movement of victim."
  90. 880 data"3)[146] immobolize affected part below"
  91. 890 data"[145]level of heart."
  92. 900 data"4)[146] apply constricting band 2-4 inches"
  93. 910 data"[145]above bite & between bite & heart."
  94. 920 data"5)[146] make incision length-wise(not deep)"
  95. 930 data"[145]at fang marks."
  96. 940 data"6)[146] suck venom from wound & spit out."
  97. 950 data"[145]repeat for at least 40 minutes."
  98. 960 data"7)[146] treat for shock.",""
  99. 970 data"severe bleeding","1)[146] call for medical assistance."
  100. 980 data"2)[146] lay victim down & elevate legs in a     semi-flexed position."
  101. 990 data"3)[146] control bleeding by applying direct     pressure to wound."
  102. 1000 data"4)[146] if bleeding continues apply digital"
  103. 1010 data"[145]pressure at pressure point."
  104. 1020 data"5)[146] elevate bleeding part of body           above level of heart."
  105. 1030 data"6)[146] maintain open airway & give victim      plenty of fresh air."
  106. 1040 data"7)[146] prevent loss of heat with blankets      over & under victim.",""
  107. 1050 data"bone & joint injuries"
  108. 1060 data"1)[146] keep bone ends & adjacent joints        still."
  109. 1070 data"2)[146] do not move victim unless absolutely    necessary."
  110. 1080 data"3)[146] apply well padded splint to injured     part."
  111. 1090 data"4)[146] if broken bone is protruding, control   bleeding."
  112. 1100 data"[145][145]cover with clean dressing     before splinting."
  113. 1110 data"5)[146] treat for shock.",""
  114. 1120 data"bruises"
  115. 1130 data"1)[146] apply cold cloth or ice pack to         relieve pain and"
  116. 1140 data"[145][145] reduce swelling.",""
  117. 1150 data"minor burns(1st degree)"
  118. 1160 data"1)[146] submerge reddened skin in cold water."
  119. 1170 data"2)[146] apply dry dressing if necessary.",""
  120. 1180 data"serious burns(2nd degree)"
  121. 1190 data"1)[146] submerge blistered skin in cold         (not ice) water."
  122. 1200 data"2)[146] apply clean cloths soaked in ice        water."
  123. 1210 data"3)[146] apply protective bandage."
  124. 1220 data"4)[146] elevate affected parts.",""
  125. 1230 data"very serious burns(3rd degree)"
  126. 1240 data"1)[146] do not remove adhered particles of      clothing from charred"
  127. 1250 data"[145][145]skin."
  128. 1260 data"2)[146] elevate affected parts above victim's   heart."
  129. 1270 data"3)[146] cover burns with clean thick            dressings-no ointments."
  130. 1280 data"4)[146] treat for shock, then get victim to     hospital.",""
  131. 1290 data"         chemical burns"
  132. 1300 data"1)[146] wash for 5 or more minutes with large   amounts of water."
  133. 1310 data"2)[146] apply clean dressing; get to hospital",""
  134. 1320 data"       choking","1)[146] if victim can cough, breathe,or talk,"
  135. 1330 data"[145][145]do nothing."
  136. 1340 data"2)[146] if victim is clutching throat,          encourage vigorous"
  137. 1350 data"[145][145]coughing."
  138. 1360 data"3)[146] if victim still cannot cough, breathe   or talk, give 4 sharp"
  139. 1370 data"[145]   blows between shoulder blades,"
  140. 1380 data"[145]   followed by 4 abdominal thrusts."
  141. 1390 data"[145]   repeat until object is dislodged."
  142. 1400 data"4)[146] if victim is a child,hold upside down   & slap sharply on back."
  143. 1410 data"5)[146] if breathing has stopped & foreign      material cannot be"
  144. 1420 data"[145][145]dislodged"
  145. 1430 data"[145]   administer artificial respiration."
  146. 1440 data"[145]   get prompt medical attention.",""
  147. 1450 data"      drugs"
  148. 1460 data"1)[146] keep airway open; give artificial"
  149. 1470 data"[145]ventilation or cpr if needed."
  150. 1480 data"2)[146] treat for shock."
  151. 1490 data"3)[146] place unconscious victim in a 3"
  152. 1491 data"[145]   quarters prone position."
  153. 1500 data"4)[146] protect victim from injury."
  154. 1510 data"5)[146] hallucinogenic victims may need         careful attention."
  155. 1520 data"6)[146] get victim to hospital.",""
  156. 1530 data"earache"
  157. 1540 data"1)[146] call your doctor."
  158. 1550 data"2)[146] apply ice bag or hot water bottle;      whichever gives relief."
  159. 1560 data"","         electric shock"
  160. 1570 data"1)[146] turn off electricity if possible."
  161. 1580 data"2)[146] remove electric contact from victim     with dry wood or dry"
  162. 1590 data"[145][145]cloth.","3)[146] give artificial respiration."
  163. 1600 data"4)[146] keep victim warm.","5)[146] call your doctor.",""
  164. 1610 data"epilepsy"
  165. 1620 data"1)[146] prevent victim from injuring himself    but do not restrain."
  166. 1630 data"2)[146] insert cloth between teeth to protect   tongue."
  167. 1640 data"3)[146] loosen tight collar; keep victim warm",""
  168. 1650 data"exposure (to cold)"
  169. 1660 data"1)[146] cover frozen part.","2)[146] provide extra clothing blankets."
  170. 1670 data"3)[146] bring indoors."
  171. 1680 data"4)[146] immerse frozen part i